package top.lishuoboy.spring.bean_other;

import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.Set;

@Component
@ToString
public class Student18_2 {
    @Value("${name}")
    private String name;
    @Value("${set[0]}")
    private Set set;
}